package com.zhdl.modules.demo.entity;

import com.project.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 测试详情类
 *
 * @Author: zhangyy
 * @Email: zhang10092009@hotmail.com
 * @Date: 2023/4/10 17:21:14
 * @Version: v1.0
 * @Modified: 测试详情
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
//@EqualsAndHashCode(callSuper=false)
@Data
@Entity
@Table(name = "t_test_desc")
@Accessors(chain = true)
public class TestDesc extends BaseEntity<TestDesc, String> {

    @Id
    protected String id;
    /**
     * name
     */
    protected String name;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 详情描述
     */
    private String description;

    /**
     * 外键关联id
     */
    @Column(name = "test_demo_id")
    private String testDemoId;

}
